class ItemZhsController < ApplicationController
    layout "activescaffold"
    active_scaffold :item_zh
#  def index
#    list
#    render :action => 'list'
#  end
#
#  # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
#  verify :method => :post, :only => [ :destroy, :create, :update ],
#         :redirect_to => { :action => :list }
#
#  def list
#    @item_zh_pages, @item_zhs = paginate :item_zhs, :per_page => 10
#  end
#
#  def show
#    @item_zh = ItemZh.find(params[:id])
#  end
#
#  def new
#    @item_zh = ItemZh.new
#  end
#
#  def create
#    @item_zh = ItemZh.new(params[:item_zh])
#    if @item_zh.save
#      flash[:notice] = 'ItemZh was successfully created.'
#      redirect_to :action => 'list'
#    else
#      render :action => 'new'
#    end
#  end
#
#  def edit
#    @item_zh = ItemZh.find(params[:id])
#  end
#
#  def update
#    @item_zh = ItemZh.find(params[:id])
#    if @item_zh.update_attributes(params[:item_zh])
#      flash[:notice] = 'ItemZh was successfully updated.'
#      redirect_to :action => 'show', :id => @item_zh
#    else
#      render :action => 'edit'
#    end
#  end
#
#  def destroy
#    ItemZh.find(params[:id]).destroy
#    redirect_to :action => 'list'
#  end
end
